package com.example.demodubbo1.service.Impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.alibaba.dubbo.spring.boot.annotation.EnableDubboConfiguration;
import com.example.demodubbo1.service.UserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: maoze@hsyuntai.com
 * Date: 2019-04-16
 * Time: 21:53
 */
@Slf4j
@Component
@EnableDubboConfiguration
@Service(version = "0.0.1", interfaceClass = UserService.class, timeout = 3000)
public class UserServiceImpl implements UserService {
    @Override
    public String getName() {
        return "maoze";
    }
}
